<template>
  <div>
    <el-table :data="data" style="width: 100%">
      <el-table-column prop="itemName" label="项目" width="150" />
      <el-table-column prop="sgCount" label="事故起数" width="150" />
      <el-table-column prop="sgCountRatio" label="占总数" width="150" />
      <el-table-column prop="swrsCount" label="死亡人数" width="150" />
      <el-table-column prop="swrsCountRatio" label="占总数" width="150" />
      <el-table-column prop="ssrsCount" label="受伤人数" width="150" />
      <el-table-column prop="ssrsCountRatio" label="占总数" width="150" />
    </el-table>

  </div>
</template>

<script setup>
import {onMounted} from "vue";

defineProps({
  data: {
    type: Array
  }
})

onMounted(() => {

})
</script>

<style lang="less" scoped></style>
